How to insert into data base using multi threading programming [closed]
        Posted  
        
            by 
                user1196650
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user1196650
        
        
        
        Published on 2012-03-01T06:37:56Z
        Indexed on 
            2012/03/30
            23:30 UTC
        
        
        Read the original article
        Hit count: 191
        
java
|multithreading
I am having a method and that method needs to do the following thing:
- It has to insert records into a database.
- No insert is done for the same table again.
- All inserts are into different tables.
- I need a multi threading logic which inserts the details into db using different threads.
I am using oracle db and driver configuration and remaining stuff are perfect.
Please help me with an efficient answer.
Can anyone could provide me with a skeleton logic of the program.
© Stack Overflow or respective owner